package com.zhongwang.business.gen.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class BusMachiningHoursExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public BusMachiningHoursExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBatIdIsNull() {
            addCriterion("bat_id is null");
            return (Criteria) this;
        }

        public Criteria andBatIdIsNotNull() {
            addCriterion("bat_id is not null");
            return (Criteria) this;
        }

        public Criteria andBatIdEqualTo(Integer value) {
            addCriterion("bat_id =", value, "batId");
            return (Criteria) this;
        }

        public Criteria andBatIdNotEqualTo(Integer value) {
            addCriterion("bat_id <>", value, "batId");
            return (Criteria) this;
        }

        public Criteria andBatIdGreaterThan(Integer value) {
            addCriterion("bat_id >", value, "batId");
            return (Criteria) this;
        }

        public Criteria andBatIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("bat_id >=", value, "batId");
            return (Criteria) this;
        }

        public Criteria andBatIdLessThan(Integer value) {
            addCriterion("bat_id <", value, "batId");
            return (Criteria) this;
        }

        public Criteria andBatIdLessThanOrEqualTo(Integer value) {
            addCriterion("bat_id <=", value, "batId");
            return (Criteria) this;
        }

        public Criteria andBatIdIn(List<Integer> values) {
            addCriterion("bat_id in", values, "batId");
            return (Criteria) this;
        }

        public Criteria andBatIdNotIn(List<Integer> values) {
            addCriterion("bat_id not in", values, "batId");
            return (Criteria) this;
        }

        public Criteria andBatIdBetween(Integer value1, Integer value2) {
            addCriterion("bat_id between", value1, value2, "batId");
            return (Criteria) this;
        }

        public Criteria andBatIdNotBetween(Integer value1, Integer value2) {
            addCriterion("bat_id not between", value1, value2, "batId");
            return (Criteria) this;
        }

        public Criteria andProCodeIsNull() {
            addCriterion("pro_code is null");
            return (Criteria) this;
        }

        public Criteria andProCodeIsNotNull() {
            addCriterion("pro_code is not null");
            return (Criteria) this;
        }

        public Criteria andProCodeEqualTo(String value) {
            addCriterion("pro_code =", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotEqualTo(String value) {
            addCriterion("pro_code <>", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeGreaterThan(String value) {
            addCriterion("pro_code >", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeGreaterThanOrEqualTo(String value) {
            addCriterion("pro_code >=", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeLessThan(String value) {
            addCriterion("pro_code <", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeLessThanOrEqualTo(String value) {
            addCriterion("pro_code <=", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeLike(String value) {
            addCriterion("pro_code like", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotLike(String value) {
            addCriterion("pro_code not like", value, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeIn(List<String> values) {
            addCriterion("pro_code in", values, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotIn(List<String> values) {
            addCriterion("pro_code not in", values, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeBetween(String value1, String value2) {
            addCriterion("pro_code between", value1, value2, "proCode");
            return (Criteria) this;
        }

        public Criteria andProCodeNotBetween(String value1, String value2) {
            addCriterion("pro_code not between", value1, value2, "proCode");
            return (Criteria) this;
        }

        public Criteria andDiagramIsNull() {
            addCriterion("diagram is null");
            return (Criteria) this;
        }

        public Criteria andDiagramIsNotNull() {
            addCriterion("diagram is not null");
            return (Criteria) this;
        }

        public Criteria andDiagramEqualTo(String value) {
            addCriterion("diagram =", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramNotEqualTo(String value) {
            addCriterion("diagram <>", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramGreaterThan(String value) {
            addCriterion("diagram >", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramGreaterThanOrEqualTo(String value) {
            addCriterion("diagram >=", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramLessThan(String value) {
            addCriterion("diagram <", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramLessThanOrEqualTo(String value) {
            addCriterion("diagram <=", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramLike(String value) {
            addCriterion("diagram like", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramNotLike(String value) {
            addCriterion("diagram not like", value, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramIn(List<String> values) {
            addCriterion("diagram in", values, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramNotIn(List<String> values) {
            addCriterion("diagram not in", values, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramBetween(String value1, String value2) {
            addCriterion("diagram between", value1, value2, "diagram");
            return (Criteria) this;
        }

        public Criteria andDiagramNotBetween(String value1, String value2) {
            addCriterion("diagram not between", value1, value2, "diagram");
            return (Criteria) this;
        }

        public Criteria andDrawingNoIsNull() {
            addCriterion("drawing_no is null");
            return (Criteria) this;
        }

        public Criteria andDrawingNoIsNotNull() {
            addCriterion("drawing_no is not null");
            return (Criteria) this;
        }

        public Criteria andDrawingNoEqualTo(String value) {
            addCriterion("drawing_no =", value, "drawingNo");
            return (Criteria) this;
        }

        public Criteria andDrawingNoNotEqualTo(String value) {
            addCriterion("drawing_no <>", value, "drawingNo");
            return (Criteria) this;
        }

        public Criteria andDrawingNoGreaterThan(String value) {
            addCriterion("drawing_no >", value, "drawingNo");
            return (Criteria) this;
        }

        public Criteria andDrawingNoGreaterThanOrEqualTo(String value) {
            addCriterion("drawing_no >=", value, "drawingNo");
            return (Criteria) this;
        }

        public Criteria andDrawingNoLessThan(String value) {
            addCriterion("drawing_no <", value, "drawingNo");
            return (Criteria) this;
        }

        public Criteria andDrawingNoLessThanOrEqualTo(String value) {
            addCriterion("drawing_no <=", value, "drawingNo");
            return (Criteria) this;
        }

        public Criteria andDrawingNoLike(String value) {
            addCriterion("drawing_no like", value, "drawingNo");
            return (Criteria) this;
        }

        public Criteria andDrawingNoNotLike(String value) {
            addCriterion("drawing_no not like", value, "drawingNo");
            return (Criteria) this;
        }

        public Criteria andDrawingNoIn(List<String> values) {
            addCriterion("drawing_no in", values, "drawingNo");
            return (Criteria) this;
        }

        public Criteria andDrawingNoNotIn(List<String> values) {
            addCriterion("drawing_no not in", values, "drawingNo");
            return (Criteria) this;
        }

        public Criteria andDrawingNoBetween(String value1, String value2) {
            addCriterion("drawing_no between", value1, value2, "drawingNo");
            return (Criteria) this;
        }

        public Criteria andDrawingNoNotBetween(String value1, String value2) {
            addCriterion("drawing_no not between", value1, value2, "drawingNo");
            return (Criteria) this;
        }

        public Criteria andNumIsNull() {
            addCriterion("num is null");
            return (Criteria) this;
        }

        public Criteria andNumIsNotNull() {
            addCriterion("num is not null");
            return (Criteria) this;
        }

        public Criteria andNumEqualTo(BigDecimal value) {
            addCriterion("num =", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotEqualTo(BigDecimal value) {
            addCriterion("num <>", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThan(BigDecimal value) {
            addCriterion("num >", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("num >=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThan(BigDecimal value) {
            addCriterion("num <", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThanOrEqualTo(BigDecimal value) {
            addCriterion("num <=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumIn(List<BigDecimal> values) {
            addCriterion("num in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotIn(List<BigDecimal> values) {
            addCriterion("num not in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("num between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("num not between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andDataUseTypeIsNull() {
            addCriterion("data_use_type is null");
            return (Criteria) this;
        }

        public Criteria andDataUseTypeIsNotNull() {
            addCriterion("data_use_type is not null");
            return (Criteria) this;
        }

        public Criteria andDataUseTypeEqualTo(Integer value) {
            addCriterion("data_use_type =", value, "dataUseType");
            return (Criteria) this;
        }

        public Criteria andDataUseTypeNotEqualTo(Integer value) {
            addCriterion("data_use_type <>", value, "dataUseType");
            return (Criteria) this;
        }

        public Criteria andDataUseTypeGreaterThan(Integer value) {
            addCriterion("data_use_type >", value, "dataUseType");
            return (Criteria) this;
        }

        public Criteria andDataUseTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("data_use_type >=", value, "dataUseType");
            return (Criteria) this;
        }

        public Criteria andDataUseTypeLessThan(Integer value) {
            addCriterion("data_use_type <", value, "dataUseType");
            return (Criteria) this;
        }

        public Criteria andDataUseTypeLessThanOrEqualTo(Integer value) {
            addCriterion("data_use_type <=", value, "dataUseType");
            return (Criteria) this;
        }

        public Criteria andDataUseTypeIn(List<Integer> values) {
            addCriterion("data_use_type in", values, "dataUseType");
            return (Criteria) this;
        }

        public Criteria andDataUseTypeNotIn(List<Integer> values) {
            addCriterion("data_use_type not in", values, "dataUseType");
            return (Criteria) this;
        }

        public Criteria andDataUseTypeBetween(Integer value1, Integer value2) {
            addCriterion("data_use_type between", value1, value2, "dataUseType");
            return (Criteria) this;
        }

        public Criteria andDataUseTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("data_use_type not between", value1, value2, "dataUseType");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andMajorIsNull() {
            addCriterion("major is null");
            return (Criteria) this;
        }

        public Criteria andMajorIsNotNull() {
            addCriterion("major is not null");
            return (Criteria) this;
        }

        public Criteria andMajorEqualTo(String value) {
            addCriterion("major =", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorNotEqualTo(String value) {
            addCriterion("major <>", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorGreaterThan(String value) {
            addCriterion("major >", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorGreaterThanOrEqualTo(String value) {
            addCriterion("major >=", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorLessThan(String value) {
            addCriterion("major <", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorLessThanOrEqualTo(String value) {
            addCriterion("major <=", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorLike(String value) {
            addCriterion("major like", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorNotLike(String value) {
            addCriterion("major not like", value, "major");
            return (Criteria) this;
        }

        public Criteria andMajorIn(List<String> values) {
            addCriterion("major in", values, "major");
            return (Criteria) this;
        }

        public Criteria andMajorNotIn(List<String> values) {
            addCriterion("major not in", values, "major");
            return (Criteria) this;
        }

        public Criteria andMajorBetween(String value1, String value2) {
            addCriterion("major between", value1, value2, "major");
            return (Criteria) this;
        }

        public Criteria andMajorNotBetween(String value1, String value2) {
            addCriterion("major not between", value1, value2, "major");
            return (Criteria) this;
        }

        public Criteria andProcessIsNull() {
            addCriterion("process is null");
            return (Criteria) this;
        }

        public Criteria andProcessIsNotNull() {
            addCriterion("process is not null");
            return (Criteria) this;
        }

        public Criteria andProcessEqualTo(String value) {
            addCriterion("process =", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessNotEqualTo(String value) {
            addCriterion("process <>", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessGreaterThan(String value) {
            addCriterion("process >", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessGreaterThanOrEqualTo(String value) {
            addCriterion("process >=", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessLessThan(String value) {
            addCriterion("process <", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessLessThanOrEqualTo(String value) {
            addCriterion("process <=", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessLike(String value) {
            addCriterion("process like", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessNotLike(String value) {
            addCriterion("process not like", value, "process");
            return (Criteria) this;
        }

        public Criteria andProcessIn(List<String> values) {
            addCriterion("process in", values, "process");
            return (Criteria) this;
        }

        public Criteria andProcessNotIn(List<String> values) {
            addCriterion("process not in", values, "process");
            return (Criteria) this;
        }

        public Criteria andProcessBetween(String value1, String value2) {
            addCriterion("process between", value1, value2, "process");
            return (Criteria) this;
        }

        public Criteria andProcessNotBetween(String value1, String value2) {
            addCriterion("process not between", value1, value2, "process");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeIsNull() {
            addCriterion("source_pro_code is null");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeIsNotNull() {
            addCriterion("source_pro_code is not null");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeEqualTo(String value) {
            addCriterion("source_pro_code =", value, "sourceProCode");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeNotEqualTo(String value) {
            addCriterion("source_pro_code <>", value, "sourceProCode");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeGreaterThan(String value) {
            addCriterion("source_pro_code >", value, "sourceProCode");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeGreaterThanOrEqualTo(String value) {
            addCriterion("source_pro_code >=", value, "sourceProCode");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeLessThan(String value) {
            addCriterion("source_pro_code <", value, "sourceProCode");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeLessThanOrEqualTo(String value) {
            addCriterion("source_pro_code <=", value, "sourceProCode");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeLike(String value) {
            addCriterion("source_pro_code like", value, "sourceProCode");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeNotLike(String value) {
            addCriterion("source_pro_code not like", value, "sourceProCode");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeIn(List<String> values) {
            addCriterion("source_pro_code in", values, "sourceProCode");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeNotIn(List<String> values) {
            addCriterion("source_pro_code not in", values, "sourceProCode");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeBetween(String value1, String value2) {
            addCriterion("source_pro_code between", value1, value2, "sourceProCode");
            return (Criteria) this;
        }

        public Criteria andSourceProCodeNotBetween(String value1, String value2) {
            addCriterion("source_pro_code not between", value1, value2, "sourceProCode");
            return (Criteria) this;
        }

        public Criteria andPartIsNull() {
            addCriterion("part is null");
            return (Criteria) this;
        }

        public Criteria andPartIsNotNull() {
            addCriterion("part is not null");
            return (Criteria) this;
        }

        public Criteria andPartEqualTo(String value) {
            addCriterion("part =", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartNotEqualTo(String value) {
            addCriterion("part <>", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartGreaterThan(String value) {
            addCriterion("part >", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartGreaterThanOrEqualTo(String value) {
            addCriterion("part >=", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartLessThan(String value) {
            addCriterion("part <", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartLessThanOrEqualTo(String value) {
            addCriterion("part <=", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartLike(String value) {
            addCriterion("part like", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartNotLike(String value) {
            addCriterion("part not like", value, "part");
            return (Criteria) this;
        }

        public Criteria andPartIn(List<String> values) {
            addCriterion("part in", values, "part");
            return (Criteria) this;
        }

        public Criteria andPartNotIn(List<String> values) {
            addCriterion("part not in", values, "part");
            return (Criteria) this;
        }

        public Criteria andPartBetween(String value1, String value2) {
            addCriterion("part between", value1, value2, "part");
            return (Criteria) this;
        }

        public Criteria andPartNotBetween(String value1, String value2) {
            addCriterion("part not between", value1, value2, "part");
            return (Criteria) this;
        }

        public Criteria andSourcePartIsNull() {
            addCriterion("source_part is null");
            return (Criteria) this;
        }

        public Criteria andSourcePartIsNotNull() {
            addCriterion("source_part is not null");
            return (Criteria) this;
        }

        public Criteria andSourcePartEqualTo(String value) {
            addCriterion("source_part =", value, "sourcePart");
            return (Criteria) this;
        }

        public Criteria andSourcePartNotEqualTo(String value) {
            addCriterion("source_part <>", value, "sourcePart");
            return (Criteria) this;
        }

        public Criteria andSourcePartGreaterThan(String value) {
            addCriterion("source_part >", value, "sourcePart");
            return (Criteria) this;
        }

        public Criteria andSourcePartGreaterThanOrEqualTo(String value) {
            addCriterion("source_part >=", value, "sourcePart");
            return (Criteria) this;
        }

        public Criteria andSourcePartLessThan(String value) {
            addCriterion("source_part <", value, "sourcePart");
            return (Criteria) this;
        }

        public Criteria andSourcePartLessThanOrEqualTo(String value) {
            addCriterion("source_part <=", value, "sourcePart");
            return (Criteria) this;
        }

        public Criteria andSourcePartLike(String value) {
            addCriterion("source_part like", value, "sourcePart");
            return (Criteria) this;
        }

        public Criteria andSourcePartNotLike(String value) {
            addCriterion("source_part not like", value, "sourcePart");
            return (Criteria) this;
        }

        public Criteria andSourcePartIn(List<String> values) {
            addCriterion("source_part in", values, "sourcePart");
            return (Criteria) this;
        }

        public Criteria andSourcePartNotIn(List<String> values) {
            addCriterion("source_part not in", values, "sourcePart");
            return (Criteria) this;
        }

        public Criteria andSourcePartBetween(String value1, String value2) {
            addCriterion("source_part between", value1, value2, "sourcePart");
            return (Criteria) this;
        }

        public Criteria andSourcePartNotBetween(String value1, String value2) {
            addCriterion("source_part not between", value1, value2, "sourcePart");
            return (Criteria) this;
        }

        public Criteria andDsIdIsNull() {
            addCriterion("ds_id is null");
            return (Criteria) this;
        }

        public Criteria andDsIdIsNotNull() {
            addCriterion("ds_id is not null");
            return (Criteria) this;
        }

        public Criteria andDsIdEqualTo(Integer value) {
            addCriterion("ds_id =", value, "dsId");
            return (Criteria) this;
        }

        public Criteria andDsIdNotEqualTo(Integer value) {
            addCriterion("ds_id <>", value, "dsId");
            return (Criteria) this;
        }

        public Criteria andDsIdGreaterThan(Integer value) {
            addCriterion("ds_id >", value, "dsId");
            return (Criteria) this;
        }

        public Criteria andDsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ds_id >=", value, "dsId");
            return (Criteria) this;
        }

        public Criteria andDsIdLessThan(Integer value) {
            addCriterion("ds_id <", value, "dsId");
            return (Criteria) this;
        }

        public Criteria andDsIdLessThanOrEqualTo(Integer value) {
            addCriterion("ds_id <=", value, "dsId");
            return (Criteria) this;
        }

        public Criteria andDsIdIn(List<Integer> values) {
            addCriterion("ds_id in", values, "dsId");
            return (Criteria) this;
        }

        public Criteria andDsIdNotIn(List<Integer> values) {
            addCriterion("ds_id not in", values, "dsId");
            return (Criteria) this;
        }

        public Criteria andDsIdBetween(Integer value1, Integer value2) {
            addCriterion("ds_id between", value1, value2, "dsId");
            return (Criteria) this;
        }

        public Criteria andDsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ds_id not between", value1, value2, "dsId");
            return (Criteria) this;
        }

        public Criteria andGetDateIsNull() {
            addCriterion("get_date is null");
            return (Criteria) this;
        }

        public Criteria andGetDateIsNotNull() {
            addCriterion("get_date is not null");
            return (Criteria) this;
        }

        public Criteria andGetDateEqualTo(Date value) {
            addCriterion("get_date =", value, "getDate");
            return (Criteria) this;
        }

        public Criteria andGetDateNotEqualTo(Date value) {
            addCriterion("get_date <>", value, "getDate");
            return (Criteria) this;
        }

        public Criteria andGetDateGreaterThan(Date value) {
            addCriterion("get_date >", value, "getDate");
            return (Criteria) this;
        }

        public Criteria andGetDateGreaterThanOrEqualTo(Date value) {
            addCriterion("get_date >=", value, "getDate");
            return (Criteria) this;
        }

        public Criteria andGetDateLessThan(Date value) {
            addCriterion("get_date <", value, "getDate");
            return (Criteria) this;
        }

        public Criteria andGetDateLessThanOrEqualTo(Date value) {
            addCriterion("get_date <=", value, "getDate");
            return (Criteria) this;
        }

        public Criteria andGetDateIn(List<Date> values) {
            addCriterion("get_date in", values, "getDate");
            return (Criteria) this;
        }

        public Criteria andGetDateNotIn(List<Date> values) {
            addCriterion("get_date not in", values, "getDate");
            return (Criteria) this;
        }

        public Criteria andGetDateBetween(Date value1, Date value2) {
            addCriterion("get_date between", value1, value2, "getDate");
            return (Criteria) this;
        }

        public Criteria andGetDateNotBetween(Date value1, Date value2) {
            addCriterion("get_date not between", value1, value2, "getDate");
            return (Criteria) this;
        }

        public Criteria andGetUidIsNull() {
            addCriterion("get_uid is null");
            return (Criteria) this;
        }

        public Criteria andGetUidIsNotNull() {
            addCriterion("get_uid is not null");
            return (Criteria) this;
        }

        public Criteria andGetUidEqualTo(Integer value) {
            addCriterion("get_uid =", value, "getUid");
            return (Criteria) this;
        }

        public Criteria andGetUidNotEqualTo(Integer value) {
            addCriterion("get_uid <>", value, "getUid");
            return (Criteria) this;
        }

        public Criteria andGetUidGreaterThan(Integer value) {
            addCriterion("get_uid >", value, "getUid");
            return (Criteria) this;
        }

        public Criteria andGetUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("get_uid >=", value, "getUid");
            return (Criteria) this;
        }

        public Criteria andGetUidLessThan(Integer value) {
            addCriterion("get_uid <", value, "getUid");
            return (Criteria) this;
        }

        public Criteria andGetUidLessThanOrEqualTo(Integer value) {
            addCriterion("get_uid <=", value, "getUid");
            return (Criteria) this;
        }

        public Criteria andGetUidIn(List<Integer> values) {
            addCriterion("get_uid in", values, "getUid");
            return (Criteria) this;
        }

        public Criteria andGetUidNotIn(List<Integer> values) {
            addCriterion("get_uid not in", values, "getUid");
            return (Criteria) this;
        }

        public Criteria andGetUidBetween(Integer value1, Integer value2) {
            addCriterion("get_uid between", value1, value2, "getUid");
            return (Criteria) this;
        }

        public Criteria andGetUidNotBetween(Integer value1, Integer value2) {
            addCriterion("get_uid not between", value1, value2, "getUid");
            return (Criteria) this;
        }

        public Criteria andBmeCodeIsNull() {
            addCriterion("bme_code is null");
            return (Criteria) this;
        }

        public Criteria andBmeCodeIsNotNull() {
            addCriterion("bme_code is not null");
            return (Criteria) this;
        }

        public Criteria andBmeCodeEqualTo(String value) {
            addCriterion("bme_code =", value, "bmeCode");
            return (Criteria) this;
        }

        public Criteria andBmeCodeNotEqualTo(String value) {
            addCriterion("bme_code <>", value, "bmeCode");
            return (Criteria) this;
        }

        public Criteria andBmeCodeGreaterThan(String value) {
            addCriterion("bme_code >", value, "bmeCode");
            return (Criteria) this;
        }

        public Criteria andBmeCodeGreaterThanOrEqualTo(String value) {
            addCriterion("bme_code >=", value, "bmeCode");
            return (Criteria) this;
        }

        public Criteria andBmeCodeLessThan(String value) {
            addCriterion("bme_code <", value, "bmeCode");
            return (Criteria) this;
        }

        public Criteria andBmeCodeLessThanOrEqualTo(String value) {
            addCriterion("bme_code <=", value, "bmeCode");
            return (Criteria) this;
        }

        public Criteria andBmeCodeLike(String value) {
            addCriterion("bme_code like", value, "bmeCode");
            return (Criteria) this;
        }

        public Criteria andBmeCodeNotLike(String value) {
            addCriterion("bme_code not like", value, "bmeCode");
            return (Criteria) this;
        }

        public Criteria andBmeCodeIn(List<String> values) {
            addCriterion("bme_code in", values, "bmeCode");
            return (Criteria) this;
        }

        public Criteria andBmeCodeNotIn(List<String> values) {
            addCriterion("bme_code not in", values, "bmeCode");
            return (Criteria) this;
        }

        public Criteria andBmeCodeBetween(String value1, String value2) {
            addCriterion("bme_code between", value1, value2, "bmeCode");
            return (Criteria) this;
        }

        public Criteria andBmeCodeNotBetween(String value1, String value2) {
            addCriterion("bme_code not between", value1, value2, "bmeCode");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andHoursIsNull() {
            addCriterion("hours is null");
            return (Criteria) this;
        }

        public Criteria andHoursIsNotNull() {
            addCriterion("hours is not null");
            return (Criteria) this;
        }

        public Criteria andHoursEqualTo(BigDecimal value) {
            addCriterion("hours =", value, "hours");
            return (Criteria) this;
        }

        public Criteria andHoursNotEqualTo(BigDecimal value) {
            addCriterion("hours <>", value, "hours");
            return (Criteria) this;
        }

        public Criteria andHoursGreaterThan(BigDecimal value) {
            addCriterion("hours >", value, "hours");
            return (Criteria) this;
        }

        public Criteria andHoursGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("hours >=", value, "hours");
            return (Criteria) this;
        }

        public Criteria andHoursLessThan(BigDecimal value) {
            addCriterion("hours <", value, "hours");
            return (Criteria) this;
        }

        public Criteria andHoursLessThanOrEqualTo(BigDecimal value) {
            addCriterion("hours <=", value, "hours");
            return (Criteria) this;
        }

        public Criteria andHoursIn(List<BigDecimal> values) {
            addCriterion("hours in", values, "hours");
            return (Criteria) this;
        }

        public Criteria andHoursNotIn(List<BigDecimal> values) {
            addCriterion("hours not in", values, "hours");
            return (Criteria) this;
        }

        public Criteria andHoursBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("hours between", value1, value2, "hours");
            return (Criteria) this;
        }

        public Criteria andHoursNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("hours not between", value1, value2, "hours");
            return (Criteria) this;
        }

        public Criteria andBmeVersionIsNull() {
            addCriterion("bme_version is null");
            return (Criteria) this;
        }

        public Criteria andBmeVersionIsNotNull() {
            addCriterion("bme_version is not null");
            return (Criteria) this;
        }

        public Criteria andBmeVersionEqualTo(String value) {
            addCriterion("bme_version =", value, "bmeVersion");
            return (Criteria) this;
        }

        public Criteria andBmeVersionNotEqualTo(String value) {
            addCriterion("bme_version <>", value, "bmeVersion");
            return (Criteria) this;
        }

        public Criteria andBmeVersionGreaterThan(String value) {
            addCriterion("bme_version >", value, "bmeVersion");
            return (Criteria) this;
        }

        public Criteria andBmeVersionGreaterThanOrEqualTo(String value) {
            addCriterion("bme_version >=", value, "bmeVersion");
            return (Criteria) this;
        }

        public Criteria andBmeVersionLessThan(String value) {
            addCriterion("bme_version <", value, "bmeVersion");
            return (Criteria) this;
        }

        public Criteria andBmeVersionLessThanOrEqualTo(String value) {
            addCriterion("bme_version <=", value, "bmeVersion");
            return (Criteria) this;
        }

        public Criteria andBmeVersionLike(String value) {
            addCriterion("bme_version like", value, "bmeVersion");
            return (Criteria) this;
        }

        public Criteria andBmeVersionNotLike(String value) {
            addCriterion("bme_version not like", value, "bmeVersion");
            return (Criteria) this;
        }

        public Criteria andBmeVersionIn(List<String> values) {
            addCriterion("bme_version in", values, "bmeVersion");
            return (Criteria) this;
        }

        public Criteria andBmeVersionNotIn(List<String> values) {
            addCriterion("bme_version not in", values, "bmeVersion");
            return (Criteria) this;
        }

        public Criteria andBmeVersionBetween(String value1, String value2) {
            addCriterion("bme_version between", value1, value2, "bmeVersion");
            return (Criteria) this;
        }

        public Criteria andBmeVersionNotBetween(String value1, String value2) {
            addCriterion("bme_version not between", value1, value2, "bmeVersion");
            return (Criteria) this;
        }

        public Criteria andPostNameIsNull() {
            addCriterion("post_name is null");
            return (Criteria) this;
        }

        public Criteria andPostNameIsNotNull() {
            addCriterion("post_name is not null");
            return (Criteria) this;
        }

        public Criteria andPostNameEqualTo(String value) {
            addCriterion("post_name =", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameNotEqualTo(String value) {
            addCriterion("post_name <>", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameGreaterThan(String value) {
            addCriterion("post_name >", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameGreaterThanOrEqualTo(String value) {
            addCriterion("post_name >=", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameLessThan(String value) {
            addCriterion("post_name <", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameLessThanOrEqualTo(String value) {
            addCriterion("post_name <=", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameLike(String value) {
            addCriterion("post_name like", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameNotLike(String value) {
            addCriterion("post_name not like", value, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameIn(List<String> values) {
            addCriterion("post_name in", values, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameNotIn(List<String> values) {
            addCriterion("post_name not in", values, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameBetween(String value1, String value2) {
            addCriterion("post_name between", value1, value2, "postName");
            return (Criteria) this;
        }

        public Criteria andPostNameNotBetween(String value1, String value2) {
            addCriterion("post_name not between", value1, value2, "postName");
            return (Criteria) this;
        }

        public Criteria andPostTelIsNull() {
            addCriterion("post_tel is null");
            return (Criteria) this;
        }

        public Criteria andPostTelIsNotNull() {
            addCriterion("post_tel is not null");
            return (Criteria) this;
        }

        public Criteria andPostTelEqualTo(String value) {
            addCriterion("post_tel =", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelNotEqualTo(String value) {
            addCriterion("post_tel <>", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelGreaterThan(String value) {
            addCriterion("post_tel >", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelGreaterThanOrEqualTo(String value) {
            addCriterion("post_tel >=", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelLessThan(String value) {
            addCriterion("post_tel <", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelLessThanOrEqualTo(String value) {
            addCriterion("post_tel <=", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelLike(String value) {
            addCriterion("post_tel like", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelNotLike(String value) {
            addCriterion("post_tel not like", value, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelIn(List<String> values) {
            addCriterion("post_tel in", values, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelNotIn(List<String> values) {
            addCriterion("post_tel not in", values, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelBetween(String value1, String value2) {
            addCriterion("post_tel between", value1, value2, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostTelNotBetween(String value1, String value2) {
            addCriterion("post_tel not between", value1, value2, "postTel");
            return (Criteria) this;
        }

        public Criteria andPostDeptIsNull() {
            addCriterion("post_dept is null");
            return (Criteria) this;
        }

        public Criteria andPostDeptIsNotNull() {
            addCriterion("post_dept is not null");
            return (Criteria) this;
        }

        public Criteria andPostDeptEqualTo(String value) {
            addCriterion("post_dept =", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptNotEqualTo(String value) {
            addCriterion("post_dept <>", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptGreaterThan(String value) {
            addCriterion("post_dept >", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptGreaterThanOrEqualTo(String value) {
            addCriterion("post_dept >=", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptLessThan(String value) {
            addCriterion("post_dept <", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptLessThanOrEqualTo(String value) {
            addCriterion("post_dept <=", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptLike(String value) {
            addCriterion("post_dept like", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptNotLike(String value) {
            addCriterion("post_dept not like", value, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptIn(List<String> values) {
            addCriterion("post_dept in", values, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptNotIn(List<String> values) {
            addCriterion("post_dept not in", values, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptBetween(String value1, String value2) {
            addCriterion("post_dept between", value1, value2, "postDept");
            return (Criteria) this;
        }

        public Criteria andPostDeptNotBetween(String value1, String value2) {
            addCriterion("post_dept not between", value1, value2, "postDept");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveFlagIsNull() {
            addCriterion("is_effective_flag is null");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveFlagIsNotNull() {
            addCriterion("is_effective_flag is not null");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveFlagEqualTo(Integer value) {
            addCriterion("is_effective_flag =", value, "isEffectiveFlag");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveFlagNotEqualTo(Integer value) {
            addCriterion("is_effective_flag <>", value, "isEffectiveFlag");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveFlagGreaterThan(Integer value) {
            addCriterion("is_effective_flag >", value, "isEffectiveFlag");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_effective_flag >=", value, "isEffectiveFlag");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveFlagLessThan(Integer value) {
            addCriterion("is_effective_flag <", value, "isEffectiveFlag");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveFlagLessThanOrEqualTo(Integer value) {
            addCriterion("is_effective_flag <=", value, "isEffectiveFlag");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveFlagIn(List<Integer> values) {
            addCriterion("is_effective_flag in", values, "isEffectiveFlag");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveFlagNotIn(List<Integer> values) {
            addCriterion("is_effective_flag not in", values, "isEffectiveFlag");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveFlagBetween(Integer value1, Integer value2) {
            addCriterion("is_effective_flag between", value1, value2, "isEffectiveFlag");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("is_effective_flag not between", value1, value2, "isEffectiveFlag");
            return (Criteria) this;
        }

        public Criteria andCostIdIsNull() {
            addCriterion("cost_id is null");
            return (Criteria) this;
        }

        public Criteria andCostIdIsNotNull() {
            addCriterion("cost_id is not null");
            return (Criteria) this;
        }

        public Criteria andCostIdEqualTo(Integer value) {
            addCriterion("cost_id =", value, "costId");
            return (Criteria) this;
        }

        public Criteria andCostIdNotEqualTo(Integer value) {
            addCriterion("cost_id <>", value, "costId");
            return (Criteria) this;
        }

        public Criteria andCostIdGreaterThan(Integer value) {
            addCriterion("cost_id >", value, "costId");
            return (Criteria) this;
        }

        public Criteria andCostIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("cost_id >=", value, "costId");
            return (Criteria) this;
        }

        public Criteria andCostIdLessThan(Integer value) {
            addCriterion("cost_id <", value, "costId");
            return (Criteria) this;
        }

        public Criteria andCostIdLessThanOrEqualTo(Integer value) {
            addCriterion("cost_id <=", value, "costId");
            return (Criteria) this;
        }

        public Criteria andCostIdIn(List<Integer> values) {
            addCriterion("cost_id in", values, "costId");
            return (Criteria) this;
        }

        public Criteria andCostIdNotIn(List<Integer> values) {
            addCriterion("cost_id not in", values, "costId");
            return (Criteria) this;
        }

        public Criteria andCostIdBetween(Integer value1, Integer value2) {
            addCriterion("cost_id between", value1, value2, "costId");
            return (Criteria) this;
        }

        public Criteria andCostIdNotBetween(Integer value1, Integer value2) {
            addCriterion("cost_id not between", value1, value2, "costId");
            return (Criteria) this;
        }

        public Criteria andIsPrototypeDataFlagIsNull() {
            addCriterion("is_prototype_data_flag is null");
            return (Criteria) this;
        }

        public Criteria andIsPrototypeDataFlagIsNotNull() {
            addCriterion("is_prototype_data_flag is not null");
            return (Criteria) this;
        }

        public Criteria andIsPrototypeDataFlagEqualTo(Integer value) {
            addCriterion("is_prototype_data_flag =", value, "isPrototypeDataFlag");
            return (Criteria) this;
        }

        public Criteria andIsPrototypeDataFlagNotEqualTo(Integer value) {
            addCriterion("is_prototype_data_flag <>", value, "isPrototypeDataFlag");
            return (Criteria) this;
        }

        public Criteria andIsPrototypeDataFlagGreaterThan(Integer value) {
            addCriterion("is_prototype_data_flag >", value, "isPrototypeDataFlag");
            return (Criteria) this;
        }

        public Criteria andIsPrototypeDataFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_prototype_data_flag >=", value, "isPrototypeDataFlag");
            return (Criteria) this;
        }

        public Criteria andIsPrototypeDataFlagLessThan(Integer value) {
            addCriterion("is_prototype_data_flag <", value, "isPrototypeDataFlag");
            return (Criteria) this;
        }

        public Criteria andIsPrototypeDataFlagLessThanOrEqualTo(Integer value) {
            addCriterion("is_prototype_data_flag <=", value, "isPrototypeDataFlag");
            return (Criteria) this;
        }

        public Criteria andIsPrototypeDataFlagIn(List<Integer> values) {
            addCriterion("is_prototype_data_flag in", values, "isPrototypeDataFlag");
            return (Criteria) this;
        }

        public Criteria andIsPrototypeDataFlagNotIn(List<Integer> values) {
            addCriterion("is_prototype_data_flag not in", values, "isPrototypeDataFlag");
            return (Criteria) this;
        }

        public Criteria andIsPrototypeDataFlagBetween(Integer value1, Integer value2) {
            addCriterion("is_prototype_data_flag between", value1, value2, "isPrototypeDataFlag");
            return (Criteria) this;
        }

        public Criteria andIsPrototypeDataFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("is_prototype_data_flag not between", value1, value2, "isPrototypeDataFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}